package com.cn.wanxi.service;

import com.cn.wanxi.entity.ResultEntity;

import java.util.List;

public interface BaseService<T> {
    ResultEntity add(T t);

    ResultEntity update(T t);

    ResultEntity delete(T t);

    List<T> findAll(T t);

    ResultEntity<T> findById(T t);

    Integer getCount(T t);
}
